package plugin;

import constants.Configurations;
import play.Play;
import play.PlayPlugin;
import play.mvc.Scope;
import utils.PageUtils;
import utils.ToolsUtils;
import utils.Utils;

import java.lang.reflect.Method;

/**
 * Author: yangzhi@djcars.cn
 * Create: 2014-02-17 11:13
 */
public class RenderCommonDataPlugin extends PlayPlugin {
    //输出版本时间
    @Override
    public void beforeActionInvocation(Method actionMethod) {
        Scope.RenderArgs args = Scope.RenderArgs.current();
        args.put("toolsUtils", ToolsUtils.class);
    }
}
